<!DOCTYPE html>
<script src="../../../resources/ahem.js"></script>
<body>
<div style="font-family: Ahem;">This test passes if we correctly repaint the following relatively positioned inline.</div>
<span style="position: relative; top: 80px;">
    <span id="target" style="position: relative; top: 100px;">
        <div style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; color: green;">x</div>
    </span>
</span>
